#ifndef CUSTOM_PROGRESS_BAR_H
#define CUSTOM_PROGRESS_BAR_H

#pragma once
#include <QProgressBar>
#include <QPainter>

class CustomProgressBar : public QProgressBar
{
    Q_OBJECT

public:
    explicit CustomProgressBar(QWidget *parent = nullptr);
    void setDoubleValue(double value);

protected:
    void paintEvent(QPaintEvent *event) override;

private:
    double progressValue;

};

#endif // CUSTOM_PROGRESS_BAR_H
